package com.example.petstore.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("item")
public class Item {
    private String itemid;
    private String productid;
    private double listprice;
    private double unitcost;
    @TableField(fill = FieldFill.INSERT)
    private int supplier; /*供货商*/
    @TableField(value = "status", fill = FieldFill.INSERT)
    private String itemStatus;
    private int qty;
    private String attr1;
    private String attr2;
    private String attr3;
    private String attr4;
    private String attr5;
    private boolean isup;
    private int views;

}
